#include "PCF85063.h"
#include "mf_i2c.h"
#include "log.h"

const static char *TAG = "pcf85063.c";

static PCF85063_data pcf85063_param = {0};

void pcf85063_read_data(void)
{
	bool ret = FL_PASS;

	ret |= mf_i2c_master_read_from_device(PCF85063_ADDRRES, PCF85063_SEC_REG, I2C_REG_BYTE_ADDR, &pcf85063_param.sec, 1);

#if PCF85063_DEBUG
	MY_LOGI(TAG, "sec->%d[ret:%d]\r\n", pcf85063_param.sec, ret);
#endif
}


